export const getIconBgColor = (state) => {
    return {
        "background-color":
            state == "0" || state == "3"
                ? "#1cbe21"
                : state == "2"
                    ? "#ffaa00"
                    : state == "1"
                        ? "#ff3737"
                        : "#1cbe21",
    };
}
export const getColor = (state) => {
    return state == "0" || state == "3"
        ? "#1cbe21"
        : state == "2"
            ? "#ffaa00"
            : state == "1"
                ? "#ff3737"
                : "#1cbe21"
}
export const getColorRgba = (state) => {
    return state == "0" || state == "3"
        ? "rgba(30, 187, 48, 1)"
        : state == "2"
            ? "#ffaa00"
            : state == "1"
                ? "#ff3737"
                : "#1cbe21"
}